<template>
  <div class="navs">
    <div class="contain">
      <a>全部课程</a>
      <ul>
        <li v-for="item in navArr" :key="item">
          <a href="#"> {{ item }}</a>
        </li>
      </ul>
    </div>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
// import HelloWorld from "@/components/HelloWorld.vue"; // @ is an alias to /src

@Component({
  components: {
    // HelloWorld
  }
})
export default class Navs extends Vue {
  private navArr: Array<string> = [
    "首页",
    "课程大纲",
    "就业薪资",
    "师资团队",
    "技术论坛",
    "学员故事",
    "关于我们"
  ];
}
</script>
<style lang="scss">
.navs {
  // margin-top: 14px;
  .contain {
    display: flex;
    background: #00aae1;
    > a {
      height: 44px;
      width: 232px;
      line-height: 44px;
      // background: #e83632;
      color: #fff;
      text-align: center;
      // margin-right: 10px;
      display: block;
      cursor: pointer;
    }
    ul {
      display: flex;
      li {
        // margin-top: auto;
        line-height: 44px;
        // background: #018dd6;
        a {
          padding: 0 22px;
          padding-bottom: 0;
          color: #fff;
          &:hover {
            color: #e83632 !important;
          }
        }
      }
    }
  }
}
</style>
